package com.eastcom.mystope.commandline;

public class MessageObject {
	private String id;
	private String type;
	private Object dataObject;
	private enum MessageType{
		COMMANDFROMCLIENT,
		COMMANDTOCLIENT
	}
	public MessageObject(String id, String type, Object dataObject) {
		super();
		this.id = id;
		this.type = type;
		this.dataObject = dataObject;
	}
	
	public MessageObject(String type) {
		super();
		this.type = type;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Object getDataObject() {
		return dataObject;
	}
	public void setDataObject(Object dataObject) {
		this.dataObject = dataObject;
	}
	
	
}
